import request from '@/utils/request'

const api = '/api/renewContractNotice'

export function getRenewContractNoticePage(params) {
    return request({
        url: `${api}/page`,
        method: 'get',
        params
    })
}

export function getRenewContractNoticeById(id) {
    return request({
        url: `${api}/${id}`,
        method: 'get'
    })
}

export function saveRenewContractNotice(data) {
    return request({
        url: `${api}/save`,
        method: 'post',
        data
    })
}

export function deleteRenewContractNotice(id) {
    return request({
        url: `${api}/${id}`,
        method: 'delete'
    })
}

export function batchDeleteRenewContractNotice(ids) {
    return request({
        url: `${api}/batch`,
        method: 'delete',
        data: ids
    })
} 